/* D:\ICADDEV\PRJ\ICAD\MTEXTTEXTTAB.H
 * Copyright (C) 1997-1999 DIMINE Co.LTD. All rights reserved.
 * 
 * $Revision: 1.1.1.1 $ $Date: 2010/03/03 02:57:12 $ 
 * 
 * Abstract
 * 
 * <TODO : Add Abstract here>
 * 
 */ 


#if !defined(AFX_MTEXTTEXTTAB_H__72621C91_0E07_11D3_BE92_00C04F990354__INCLUDED_)
#define AFX_MTEXTTEXTTAB_H__72621C91_0E07_11D3_BE92_00C04F990354__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MTextTextTab.h : header file
//
#include "Resource.h"

#include "dmFontComboBox.h"

/////////////////////////////////////////////////////////////////////////////
// MTextTextTab dialog

class MTextTextTab : public CBCGPPropertyPage
{
	DECLARE_DYNCREATE(MTextTextTab)

// Construction
public:
	MTextTextTab();
	~MTextTextTab();
	long m_begin, m_end;

// Dialog Data
	//{{AFX_DATA(MTextTextTab)
	enum { IDD = MTEXT_TEXT };
	CdmFontComboBox	m_font;
	CButton	m_bold;
	CButton	m_undo;
	CButton	m_underline;
	CButton	m_italic;
	CComboBox	m_fontsize;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(MTextTextTab)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Attributes
public:
	CFont&	SelectedFont();
	void UpdateSize();

// Implementation
protected:
//	CBitmap	m_undoBitmap;
	CFont	editFont;

	// Generated message map functions
	//{{AFX_MSG(MTextTextTab)
	virtual BOOL OnInitDialog();
	afx_msg void OnBold();
	afx_msg void OnItalic();
	afx_msg void OnUnderline();
	afx_msg void OnSelendokFont();
	afx_msg void OnUndo();
	afx_msg void OnKillfocusFontsize();
	afx_msg void OnSelendokFontsize();
	afx_msg void OnSetfocusFontsize();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};




//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MTEXTTEXTTAB_H__72621C91_0E07_11D3_BE92_00C04F990354__INCLUDED_)


